<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>上传视频</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <include file="Index/common_css"/>
    <link href="__PUBLIC__/admin/css/plugins/iCheck/custom.css" rel="stylesheet">
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/common/js/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/common/js/ueditor/ueditor.all.min.js"> </script>
    <script type="text/javascript" charset="utf-8" src="__PUBLIC__/common/js/ueditor/lang/zh-cn/zh-cn.js"></script>
    <style>
        .Validform_checktip{padding-top:5px;display: inline-block;color:red;}
    </style>
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>添加视频</h5>
                    </div>
                    <div class="ibox-content">
                        <form class="form-horizontal" id="addFrom" action="__URL__/addVideo" method="post" enctype="multipart/form-data">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">标题：</label>
                                <div class="col-sm-8">
                                    <input type="text" name="title" placeholder="标题" class="form-control" required="" aria-required="true">
                                </div>
                                <i class="Validform_checktip Hui-iconfont">*</i>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">图片：</label>
                                <div class="col-sm-8">
                                    <input type="file" name="img" required="" aria-required="true">
                                </div>
                                <i class="Validform_checktip Hui-iconfont">*</i>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">视频：</label>
                                <div class="col-sm-8">
                                    <input type="file" name="video" required="" aria-required="true">
                                </div>
                                <i class="Validform_checktip Hui-iconfont">*</i>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">内容：</label>
                                <div class="col-sm-8">
                                    <textarea id="content" name="content" required="" aria-required="true"></textarea>
                                </div>
                                <i class="Validform_checktip Hui-iconfont">*</i>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-offset-3 col-sm-8">
                                    <button class="btn btn-sm btn-info" id="add-btn" type="submit">添 加</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 全局js -->
    <include file="Index/common_js"/>
    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>
    <!-- iCheck -->
    <script src="__PUBLIC__/admin/js/plugins/iCheck/icheck.min.js"></script>
    <script>
        var editor;
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
            editor=UE.getEditor('content');
        });
    </script>
</body>

</html>
